import Cocoa

autoreleasepool {
    // 创建应用程序
    let app = NSApplication.shared
    let delegate = AppDelegate()
    app.delegate = delegate

    // 设置激活策略
    app.setActivationPolicy(.accessory)
    
    // 启动应用程序
    app.run()
}
